package demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import demo.entity.Users;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);
    
    List<Users> findAllByUsers(Users users,@Param("pageNo")Integer pageNo,@Param("pageSize")Integer pageSize);
    
    
}